package com.fintech.third.service.facerecog;

import java.util.List;
import java.util.Map;

import com.fintech.third.model.facerecog.EdcKsLiveTesting;
import com.fintech.third.model.facerecog.FaceCompareResponse;

/**
 * 旷视ocr
 * @author tangpw
 *
 */
public interface OpenViewSevice {
	
	/**
	 * 旷视身份证ocr识别
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewIdCardOcr(Map<String, String> map);
	
	
	
	
	
	/**
	 * 旷视银行卡ocr识别
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewBankCardOcr(Map<String, String> map);
	
	
	
	
	/**
	 * 旷视人脸ocr
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewFaceAlignmentOcr(Map<String, String> map);
	
	/**
	 * 旷视活体检测（移动网页版）--获取随机数
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewRawGetRandomNumber(Map<String, String> map);
	
	/**
	 * 旷视活体检测（移动网页版）--上传视频
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewRawValidateVideo(Map<String, String> map);
	
	/**
	 * 旷视活体检测（移动网页版）--查询结果
	 * @param map
	 * @return
	 */
	public FaceCompareResponse openViewRawVerify(Map<String, String> map);
	/**
	 * 旷视活体检测（移动网页版）--查询表结果
	 * @param map
	 * @return
	 */
	public List<EdcKsLiveTesting> openViewQueryResultByLoanId(String loanId);
}
